%ifdef CONFIG
{
  "HostFeatures": ["AVX"],
  "RegData": {
      "XMM2":  ["0x7861626364656667", "0x4871727374757677", "0x9881828384858687", "0x1891929394959697"],
      "XMM3":  ["0x5354555657584142", "0x0000000000005152", "0x2324252627281112", "0x0000000000002122"],
      "XMM4":  ["0x0000000000000000", "0x0000000000000000", "0x0000000000000000", "0x0000000000000000"],
      "XMM5":  ["0x7861626364656667", "0x4871727374757677", "0x0000000000000000", "0x0000000000000000"],
      "XMM6":  ["0x5354555657584142", "0x0000000000005152", "0x0000000000000000", "0x0000000000000000"],
      "XMM7":  ["0x0000000000000000", "0x0000000000000000", "0x0000000000000000", "0x0000000000000000"],
      "XMM8":  ["0x7861626364656667", "0x4871727374757677", "0x9881828384858687", "0x1891929394959697"],
      "XMM9":  ["0x5354555657584142", "0x0000000000005152", "0x2324252627281112", "0x0000000000002122"],
      "XMM10": ["0x0000000000000000", "0x0000000000000000", "0x0000000000000000", "0x0000000000000000"],
      "XMM11": ["0x7861626364656667", "0x4871727374757677", "0x0000000000000000", "0x0000000000000000"],
      "XMM12": ["0x5354555657584142", "0x0000000000005152", "0x0000000000000000", "0x0000000000000000"],
      "XMM13": ["0x0000000000000000", "0x0000000000000000", "0x0000000000000000", "0x0000000000000000"],
      "XMM14": ["0x6162636465666768", "0x7172737475767778", "0x0000000000000000", "0x0000000000000000"],
      "XMM15": ["0x6162636465666768", "0x7172737475767778", "0x8182838485868788", "0x9192939495969798"]
  }
}
%endif

lea rdx, [rel .data]

vmovaps ymm0, [rdx]
vmovaps ymm1, [rdx + 32]

vpalignr ymm2, ymm0, ymm1, 1
vpalignr ymm3, ymm0, ymm1, 22
vpalignr ymm4, ymm0, ymm1, 32

vpalignr xmm5, xmm0, xmm1, 1
vpalignr xmm6, xmm0, xmm1, 22
vpalignr xmm7, xmm0, xmm1, 32

vpalignr ymm8,  ymm0, [rdx + 32], 1
vpalignr ymm9,  ymm0, [rdx + 32], 22
vpalignr ymm10, ymm0, [rdx + 32], 32

vpalignr xmm11, xmm0, [rdx + 32], 1
vpalignr xmm12, xmm0, [rdx + 32], 22
vpalignr xmm13, xmm0, [rdx + 32], 32

vpalignr xmm14, xmm0, [rdx + 32], 0
vpalignr ymm15, ymm0, [rdx + 32], 0

hlt

align 32
.data:
dq 0x4142434445464748
dq 0x5152535455565758
dq 0x1112131415161718
dq 0x2122232425262728

dq 0x6162636465666768
dq 0x7172737475767778
dq 0x8182838485868788
dq 0x9192939495969798
